﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Blog.DAL;
using Blog.BAL;
namespace Blog.BAL
{
   public partial class job:tbljob
    {
       public string get_job_by_id(int id)
       {
           DB db = new DB();
           var c = (from d in db.tbljobs where d.id.Equals(id) select d).ToList();
           return c[0].name.ToString();
       }
       
    }
}
